package com.cweb.admin.model.bbs.bbs_comment_info.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cweb.admin.model.bbs.bbs_comment_info.entity.BbsCommentInfo;
import com.cweb.framework.base.mapper.BaseMybatisMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 论坛-评论信息 Mapper 接口
 * @author changfan
 */
public interface BbsCommentInfoMapper extends BaseMybatisMapper<BbsCommentInfo> {
    // 分页查询
    IPage<BbsCommentInfo> listPage(@Param("pg") Page page, @Param("param") BbsCommentInfo param);
    // 评论累加
    int updateReplyNumAdd(@Param("id") Long id);
}
